package com.bigtalk.pattern.visitor;

public class VisitorTest {
	public static void main(String[] args){
		ObjectStructure os = new ObjectStructure();
		os.attach(new Man());
		os.attach(new Woman() );
		Action visitor = new Success();
		os.display(visitor);
	}
}
